package com.qcby.pushservice.web;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 演示web start
 *
 * @author cong.zhen
 * @date 2023/04/21
 */
@SpringBootApplication
//@EnableApolloConfig
@DubboComponentScan(basePackages = "com.qcby.pushservice.service.dubbo")
@MapperScan(basePackages = "com.qcby.pushservice.base.mapper")
@ComponentScan(basePackages = "com.qcby.pushservice")
public class DemoWebStart {
    public static void main(String[] args) {
        SpringApplication.run(DemoWebStart.class,args);
    }
}
